TARGET=target

all: 
	make $(TARGET)/index.htm
	make $(TARGET)/weather.htm
	make $(TARGET)/svsoar.css
	make $(TARGET)/find_us.htm
	make $(TARGET)/learn.htm
	make $(TARGET)/reading.htm
	make $(TARGET)/membership.htm
	make $(TARGET)/fees.htm
	make $(TARGET)/old_news.htm
	make $(TARGET)/news.htm
	make $(TARGET)/fleet.htm
	make $(TARGET)/solos.htm
	make $(TARGET)/first_flights.htm
	make $(TARGET)/current_events.htm
	make $(TARGET)/links.htm
	make $(TARGET)/photos.htm
	make $(TARGET)/ride.htm

$(TARGET)/ride.htm: ride.htm template.txt template_foot.txt
	cat template.txt ride.htm template_foot.txt > $(TARGET)/ride.htm

$(TARGET)/find_us.htm: find_us.htm template.txt template_foot.txt
	cat template.txt find_us.htm template_foot.txt > $(TARGET)/find_us.htm

$(TARGET)/index.htm: main.htm template.txt template_foot.txt
	cat template.txt main.htm template_foot.txt > $(TARGET)/index.htm

$(TARGET)/weather.htm: weather.htm template.txt template_foot.txt
	cat template.txt weather.htm template_foot.txt > $(TARGET)/weather.htm

$(TARGET)/fees.htm: fees.htm template.txt template_foot.txt
	cat template.txt fees.htm template_foot.txt > $(TARGET)/fees.htm

$(TARGET)/learn.htm: learn.htm template.txt template_foot.txt
	cat template.txt learn.htm template_foot.txt > $(TARGET)/learn.htm

$(TARGET)/news.htm: news.htm template.txt template_foot.txt
	cat template.txt news.htm template_foot.txt > $(TARGET)/news.htm

$(TARGET)/old_news.htm: old_news.htm template.txt template_foot.txt
	cat template.txt old_news.htm template_foot.txt > $(TARGET)/old_news.htm

$(TARGET)/membership.htm: membership.htm template.txt template_foot.txt
	cat template.txt membership.htm template_foot.txt > $(TARGET)/membership.htm

$(TARGET)/fleet.htm: fleet.htm template.txt template_foot.txt
	cat template.txt fleet.htm template_foot.txt > $(TARGET)/fleet.htm

$(TARGET)/first_flights.htm: first_flights.htm template.txt template_foot.txt
	cat template.txt first_flights.htm template_foot.txt > $(TARGET)/first_flights.htm

$(TARGET)/solos.htm: solos.htm template.txt template_foot.txt
	cat template.txt solos.htm template_foot.txt > $(TARGET)/solos.htm

$(TARGET)/current_events.htm: current_events.htm template.txt template_foot.txt
	cat template.txt current_events.htm template_foot.txt > $(TARGET)/current_events.htm

$(TARGET)/links.htm: links.htm template.txt template_foot.txt
	cat template.txt links.htm template_foot.txt > $(TARGET)/links.htm

$(TARGET)/reading.htm: reading.htm template.txt template_foot.txt
	cat template.txt reading.htm template_foot.txt > $(TARGET)/reading.htm

$(TARGET)/photos.htm: photos.htm template.txt template_foot.txt
	cat template.txt photos.htm template_foot.txt > $(TARGET)/photos.htm



$(TARGET)/svsoar.css: svsoar.css
	cp svsoar.css $(TARGET)/svsoar.css


